// 引入defineStore用于创建store
import { defineStore } from 'pinia'
import "@amap/amap-jsapi-types";

// 定义并暴露一个store
export const useAmapStore = defineStore('amap', {
  // 状态
  state: () => ({
    amap: {} as AMap.Map,
    amapInstance: {} as any,
  }),
})